import axios from 'axios'

const url = '/api/instance'

export const InstanceApi = {
  getData() {
    return axios.get(url)
  },

  updateInstance(data) {
    return axios.post(url, data)
  }
}
